﻿using Basic.FormRemoteModel.UserForm.Model;
using Basic.UserFormService.Interface;
using Basic.UserFormService.Model;
using WeDonekRpc.Client.Attr;

namespace Basic.UserFormService.DataSourceFill
{
    [IocName("UnitDept")]
    internal class FillUnitDept : IQueryDataFill
    {
        public FillRecordRow[] FillRow ( FormGetArg arg, FormTableDto table )
        {
            return new FillRecordRow[] {
                new FillRecordRow
                {
                    RowId=1,
                    Values=new Dictionary<string, object>
                    {
                        {"dwm", "成都市分公司" },
                        {"bm", "技术部" }
                    }
                },
                new FillRecordRow
                {
                    RowId=2,
                    Values=new Dictionary<string, object>
                    {
                        {"dwm", "成都市分公司" },
                        {"bm", "美术部" }
                    }
                },
                new FillRecordRow
                {
                    RowId=3,
                    Values=new Dictionary<string, object>
                    {
                        {"dwm", "成都市分公司" },
                        {"bm", "测试部" }
                    }
                },
                new FillRecordRow
                {
                    RowId=4,
                    Values=new Dictionary<string, object>
                    {
                        {"dwm", "山东市分公司" },
                        {"bm", "人事部" }
                    }
                },
                new FillRecordRow
                {
                    RowId=5,
                    Values=new Dictionary<string, object>
                    {
                        {"dwm", "阆中市分公司" },
                        {"bm", "市场部" }
                    }
                },
                new FillRecordRow
                {
                    RowId=6,
                    Values=new Dictionary<string, object>
                    {
                        {"dwm", "阆中市分公司" },
                        {"bm", "技术部" }
                    }
                }
            };
        }
    }
}
